#define _CRT_SECURE_NO_WARNINGS
#include "func.h"

int main()
{
	Queue pq;
	QueueInit(&pq);
	QueuePush(&pq, 1);
	QueuePush(&pq, 2);
	QueuePush(&pq, 3);
	QueuePush(&pq, 4);
	QueuePush(&pq, 5);
	QueuePush(&pq, 6);

	while (!QueueEmpty(&pq))
	{
		printf("%d\n", QueueFront(&pq));
		QueuePop(&pq);
	}
	//printf("%d\n", QueueSize(&pq));
	//printf("%d ", QueueFront(&pq));
	//printf("%d ", QueueBack(&pq));
	//QueuePop(&pq);
	//printf("%d ", QueueFront(&pq));
	//printf("\n%d", QueueSize(&pq));
	QueueDestroy(&pq);
	return 0;
}
